<?php
namespace app\index\controller;
use app\common\controller\Common;
use app\common\controller\Auth;
use think\Session;

class Index extends Common
{
	/**
	* 框架
	*/
	public function index()
    {
		$this->assign('navList',Auth::getNavList(Session::get('admin.admin_id')));
		$this->assign('nickname',Session::get('admin.nkname'));
		$this->assign('admin_type',Session::get('admin.admin_type'));
		return $this->fetch();
	}
	/**
	* 首页
	*/
	public function welcome()
    {
		return $this->fetch();
	}
}
